package pe.gob.foncodes.ssa.bs.common.util;

import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import net.sf.jasperreports.engine.JRExporter;
import net.sf.jasperreports.engine.JasperPrint;

/**
 *
 */
public interface JRExporterStrategy {

    String PDF = "pdf";
    String EXCEL = "xls";
    JRExporter export(SerializedList<JasperPrint> jasperPrintList, HttpServletResponse response) throws IOException;

    String getMimeType();

    String getFileExtension();
}
